package com.bh.mapper;

import com.bh.pojo.entry.City;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper {


    @Select("select * from city where pid=#{value}")
    List<City> findCityById(Integer pid);



    @Select("select * from city where name=#{value}")
    City findCityByName(String shengName);
}

